package com.lt.contract.dao;

import com.lt.contract.entity.NmMongoliaCircuitSharing;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;

/**
 * 国内电路分摊收入(NmMongoliaCircuitSharing)表数据库访问层
 *
 * @author makejava
 * @since 2020-02-15 21:44:40
 */
public interface NmMongoliaCircuitSharingDao {


    /**
     * 通过实体作为筛选条件查询
     *
     * @param nmMongoliaCircuitSharing 实例对象
     * @return 对象列表
     */
    List<NmMongoliaCircuitSharing> queryAll(Map<String,Object> map);
   Long queryAllCount(Map<String,Object> map);

    /**
     * 新增数据
     *
     * @param nmMongoliaCircuitSharing 实例对象
     * @return 影响行数
     */
    int insert(NmMongoliaCircuitSharing nmMongoliaCircuitSharing);

    int insertAll(@Param("list") List<NmMongoliaCircuitSharing> list);


}
